<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<title>WIKINDX CLASS DOCUMENTATION</title>

<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link rel="stylesheet" href="/wikindx2/docs/docs.css" type="text/css" />
</head>

<body bgcolor="#FFFFFF" text="#000000">
<h2>WIKINDX METHODS</h2>
<p><strong>Method:</strong><br />
  
  listResources()
</p>
<p><strong>Class:</strong><br />
  <a href="listcommonClass.html">LISTCOMMON</a>
<p><strong>Method Call:</strong><br />
  include_once("core/list/LISTCOMMON.php");<br />
  $common = new LISTCOMMON($this-&gt;db, $this-&gt;vars);  <br />
ARRAY $common->listResources(STRING: $sqlTotal, STRING: $queryString, STRING: $listType, [ARRAY: $patterns = FALSE, STRING: $message = FALSE]);
</p>
<p><strong>Description:</strong><br /> 
This method returns two strings:</p>
<p>The first is a tabulated string of all resources asked for in $sqlTotal with appropriate <em>view</em> and <em>edit</em> hyperlinks. This string will be formatted as per the user's chosen bibliographic style. If <em>$patterns</em> is not FALSE, search term highlighting will be included in the string. If <em>$messages</em> is not FALSE, this is a string to be printed before the tabulated data.</p>
<p>The second return string is paging information intended to be set as the <em>paging</em> variable in the template system. <em>$queryString</em> is the URL query string required by the paging methods and that will be parsed in <em>index.php</em>.</p>
<p></p>
<strong>Usage:</strong><br />
  
Example:<br />
See <a href="../statements/listjoinMethod.html">STATEMENTS::listJoin()</a> for an example of how to use this.

<p align="right"><a href="../../index.html">WIKINDX home</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../../usage/index.html">WIKINDX usage</a>
&nbsp;&nbsp;&nbsp;&nbsp;
<a href="../index.html">WIKINDX classes</a>
</p>
</body>

</html>
